<?php include_once './application/views/sys_admin/common/header.php';  ?>
<!-- admin_main -->
<div class="admin_main">
	<!-- Admin_top end -->
	<?php include_once './application/views/sys_admin/common/account_left.php';  ?>
	<!-- Admin_Left End -->
	<div class="admin_right">
		<div class="admin_right_title">
		<strong>财务管理</strong> &gt;&gt; 标的投资情况一览表
		</div>
		
		<div class="admin_right_con" style="width: 98%;">
						<table border="0" cellspacing="1" cellpadding="0" bgcolor="#f0f0f0" width="100%">
							<tr>
							<td colspan="8" height="35" align="left" valign="middle" bgcolor="#FFFFFF">
								<a class="exclebtn" href="/sys_admin/account/borrowdetailxls/?username=<?php echo $username;?>&strtime=<?php echo $strtime;?>&endtime=<?php echo $endtime;?>">导出数据</a>
							</td>
						</tr>
				
						  <tbody><tr style="color:#636363;">
						  		<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>标号</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>标名</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>标的总金额</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>年利率</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>标的期限</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>最后还款日</strong></td>
								<td height="35" align="center" valign="middle" bgcolor="#F1F1F1"><strong>投资人数</strong></td>
						  </tr>
						  	 <?php foreach($borrow_list as $key => $borrow){?>
						  	 <tr>
						  	<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><a href="/sys_admin/account/account_view/<?php echo $borrow['id'];?>"><?php echo "第".$borrow['id']."期";?></a></td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><a href="/sys_admin/account/account_view/<?php echo $borrow['id'];?>"><?php echo $borrow['title'];?></a></td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo number_format($borrow['account'],2);?></td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php if($borrow['award']=='1'){echo $borrow['apr']."%"."+".$borrow['funds'];}else{echo $borrow['apr'];}?>%</td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF">
							<?php if($borrow['is_day'] == 1){
									echo $borrow['time_limit_day'].' 天';
								  }else{
								  	echo $borrow['time_limit'].' 个月';}?>
							</td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo date("Y-m-d",$borrow['each_time']);?></td>
							<td height="35" align="center" valign="middle" bgcolor="#FFFFFF"><?php echo $borrow['tender_times'];?></td>
						  </tr>	
						  <?php }?>		
						</tbody>
						</table>
					</div>
	</div>
<!-- Admin_Right End -->
</div>

<!-- admin_main end -->
</body>
</html>
